package com.hycreate.platform.modules.handleinfo;

import java.util.Date;

import org.hibernate.validator.constraints.Length;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.hycreate.platform.common.persistence.DataEntity;

/**
 * 处理记录Entity
 * @author wang
 * @version 2017-11-29
 */
public class YhcgHandleinfo extends DataEntity<YhcgHandleinfo> {
	
	private static final long serialVersionUID = 1L;
	private Date processingtime;		// 处理时间
	private String processingtunit;		// 处理人
	private String processingtremark;		// 处理详情
	private String uid;		// 工单id
	public String getFilechuname() {
		return filechuname;
	}

	public void setFilechuname(String filechuname) {
		this.filechuname = filechuname;
	}

	public String getFiletuurl() {
		return filetuurl;
	}

	public void setFiletuurl(String filetuurl) {
		this.filetuurl = filetuurl;
	}

	private String filechuname;
	private String filetuurl;
	
	public YhcgHandleinfo() {
		super();
	}

	public YhcgHandleinfo(String id){
		super(id);
	}

	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	public Date getProcessingtime() {
		return processingtime;
	}

	public void setProcessingtime(Date processingtime) {
		this.processingtime = processingtime;
	}
	
	@Length(min=0, max=255, message="处理人长度必须介于 0 和 255 之间")
	public String getProcessingtunit() {
		return processingtunit;
	}

	public void setProcessingtunit(String processingtunit) {
		this.processingtunit = processingtunit;
	}
	
	public String getProcessingtremark() {
		return processingtremark;
	}

	public void setProcessingtremark(String processingtremark) {
		this.processingtremark = processingtremark;
	}
	
	@Length(min=0, max=36, message="工单id长度必须介于 0 和 36 之间")
	public String getUid() {
		return uid;
	}

	public void setUid(String uid) {
		this.uid = uid;
	}
	
}